<?php if(!defined('BASEPATH'))exit('No direct script access allowed'); ?>
<?php $this->load->view('admin/global/header'); ?>
<?php $this->load->view('admin/global/left'); ?>
<table cellpadding="0" cellspacing="0">
    <tr>
        <td class="title"><?php echo lang('HOME'); ?></td>
    </tr>
    <tr>
        <td valign="top">
            <table class="info" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="50%">
                        <fieldset class="fieldsetTL">
                            <legend><?php echo lang('MEMBER'); ?></legend>
                            <p><?php echo lang('MEMBER'); ?>: <?php echo $user1; ?> <i>(<?php echo lang('ACTIVE'); ?>: <?php echo $user11; ?> / <?php echo lang('UNACTIVED'); ?>: <span class="red"><?php echo $user12; ?></span>)</i></p>
                            <p><?php echo lang('VIP_MEMBER'); ?>: <?php echo $user2; ?> <i>(<?php echo lang('EXPIRE'); ?>: <span class="red"><?php echo $user21; ?></span> / <?php echo lang('EXPIRE_COMMING'); ?>: <span class="green"><?php echo $user22; ?></span>)</i></p>
                            <p><?php echo lang('BESTSHOP_MEMBER'); ?>: <?php echo $user3; ?> <i>(<?php echo lang('EXPIRE'); ?>: <span class="red"><?php echo $user31; ?></span> / <?php echo lang('EXPIRE_COMMING'); ?>: <span class="green"><?php echo $user32; ?></span>)</i></p>
                            <p><?php echo lang('YESTERDAY_REGISTER'); ?>: <?php echo $user4; ?></p>
                            <p><?php echo lang('TODAY_REGISTER'); ?>: <?php echo $user5; ?></p>
                            <p><?php echo lang('MONTH_REGISTER'); ?>: <?php echo $user6; ?></p>
                        </fieldset>
                    </td>
                    <td width="50%">
                        <fieldset class="fieldsetTR">
                            <legend><?php echo lang('SHOP'); ?> & <?php echo lang('PRODUCT'); ?> & <?php echo lang('ADS'); ?> & <?php echo lang('JOB_WORK'); ?></legend>
                            <p><?php echo lang('SHOP'); ?>: <?php echo $shop; ?> <i>(<?php echo lang('BESTSHOP'); ?>: <?php echo $shop1; ?> / <?php echo lang('NONE_PRODUCT'); ?>: <span class="red"><?php echo $shop2; ?></span>)</i></p>
                            <p><?php echo lang('PRODUCT'); ?>: <?php echo $product; ?> <i>(<?php echo lang('HOT'); ?>: <?php echo $product1; ?> / <?php echo lang('BESTSHOP'); ?>: <?php echo $product2; ?> / <?php echo lang('EXPIRE'); ?>: <span class="red"><?php echo $product3; ?></span> / <?php echo lang('BAD'); ?>: <span class="red"><?php echo $product4; ?></span>)</i></p>
                            <p><?php echo lang('ADS'); ?>: <?php echo $ads; ?> <i>(<?php echo lang('VIP'); ?>: <?php echo $ads1; ?> / <?php echo lang('EXPIRE'); ?>: <span class="red"><?php echo $ads2; ?></span> / <?php echo lang('BAD'); ?>: <span class="red"><?php echo $ads3; ?></span>)</i></p>
                            <p><?php echo lang('JOB'); ?>: <?php echo $job; ?> <i>(<?php echo lang('RELIABLED'); ?>: <?php echo $job1; ?> / <?php echo lang('EXPIRE'); ?>: <span class="red"><?php echo $job2; ?></span> / <?php echo lang('BAD'); ?>: <span class="red"><?php echo $job3; ?></span>)</i></p>
                            <p><?php echo lang('EMPLOY'); ?>: <?php echo $employ; ?> <i>(<?php echo lang('RELIABLED'); ?>: <?php echo $employ1; ?> / <?php echo lang('EXPIRE'); ?>: <span class="red"><?php echo $employ2; ?></span> / <?php echo lang('BAD'); ?>: <span class="red"><?php echo $employ3; ?></span>)</i></p>
                            <p><?php echo lang('TODAY'); ?> <i>(<?php echo lang('PRODUCT'); ?>: <?php echo $today1; ?> / <?php echo lang('ADS'); ?>: <?php echo $today2; ?> / <?php echo lang('JOB'); ?>: <?php echo $today3; ?> / <?php echo lang('EMPLOY'); ?>: <?php echo $today4; ?>)</i></p>
                        </fieldset>
                    </td>
                </tr>
                <tr>
                    <td width="50%">
                        <fieldset class="fieldsetBL">
                            <legend><?php echo lang('VISITOR'); ?></legend>
                            <p><?php echo lang('VISITOR'); ?>: <?php echo (int)$visitor1->visitor; ?></p>
                            <p><?php echo lang('YESTERDAY'); ?>: <?php echo (int)$visitor2->visitor; ?></p>
                            <p><?php echo lang('TODAY'); ?>: <?php echo (int)$visitor3->visitor; ?></p>
                            <p><?php echo lang('WEEK'); ?>: <?php echo (int)$visitor4->visitor; ?></p>
                            <p><?php echo lang('MONTH'); ?>: <?php echo (int)$visitor5->visitor; ?></p>
                            <p><?php echo lang('ONLINE'); ?>: <?php echo $visitor6; ?></p>
                        </fieldset>
                    </td>
                    <td width="50%">
                        <fieldset class="fieldsetBR">
                            <legend><?php echo lang('OTHER_INFO'); ?></legend>
                            <p><?php echo lang('BANNER'); ?>: <?php echo $other1; ?> <i>(<?php echo lang('EXPIRE'); ?>: <span class="red"><?php echo $other11; ?></span> / <?php echo lang('EXPIRE_COMMING'); ?>: <span class="green"><?php echo $other12; ?></span>)</i></p>
                            <p><?php echo lang('CONTACT'); ?>: <?php echo $other2; ?> <i>(<?php echo lang('TODAY'); ?>: <?php echo $other21; ?> / <?php echo lang('UNVIEWED'); ?>: <span class="red"><?php echo $other22; ?></span>)</i></p>
                            <p><?php echo lang('NOTICE'); ?>: <?php echo $other3; ?> <i>(<?php echo lang('EXPIRE'); ?>: <span class="red"><?php echo $other31; ?></span> / <?php echo lang('EXPIRE_COMMING'); ?>: <span class="green"><?php echo $other32; ?></span>)</i></p>
                            <p><?php echo lang('NEWS'); ?>: <?php echo $other4; ?> <i>(<?php echo lang('TODAY'); ?>: <?php echo $other41; ?>)</i></p>
                            <p><?php echo lang('TRANSACTION'); ?>: <?php echo $other5; ?> <i>(<?php echo lang('TODAY'); ?>: <?php echo $other51; ?> / <?php echo lang('PROCESSED'); ?>: <?php echo $other52; ?> / <?php echo lang('UNPROCESS'); ?>: <span class="red"><?php echo $other53; ?></span>)</i></p>
                            <p><span class="green"><?php echo lang('LAST_LOGIN_VISITOR'); ?>: <i><?php echo $other6; ?></i></span></p>
                        </fieldset>
                    </td>
                </tr>
                <tr>
                    <td width="50%">
                        <fieldset class="fieldsetBL">
                            <legend><?php echo lang('LASTEST_MEMBER'); ?></legend>
                            <?php foreach($lastestUsers as $user){ ?>
                            <p>
                                <a href="<?php echo base_url(); ?>member/<?php echo $user->useID; ?>" class="vtip" title="<?php echo tip(array(lang('FULLNAME')=>$user->useFullname, lang('EMAIL')=>$user->useEmail)); ?>" target="_blank">
                                    <?php echo $user->useUsername; ?>
                                </a>
                                <span style="font-weight:normal;"><i>(<?php echo date_convert($user->useRegisterDate); ?>)</i></span>
                            </p>
                            <?php } ?>
                        </fieldset>
                    </td>
                    <td width="50%">
                        <fieldset class="fieldsetBR">
                            <legend><?php echo lang('LASTEST_SHOP'); ?></legend>
                            <?php foreach($lastestShops as $shop){ ?>
                            <p>
                                <a href="<?php echo base_url(); ?><?php echo $shop->shoLink; ?>" title="<?php echo lang('VISIT_SHOP'); ?>" target="_blank">
                                    <?php echo sub($shop->shoName, 50); ?>
                                </a>
                            </p>
                            <?php } ?>
                        </fieldset>
                    </td>
                </tr>
                <tr>
                    <td width="50%">
                        <fieldset class="fieldsetBL">
                            <legend><?php echo lang('LASTEST_PRODUCT'); ?></legend>
                            <?php foreach($lastestProducts as $product){ ?>
                            <p>
                                <a href="<?php echo base_url(); ?>product/section/<?php echo $product->proSection; ?>/category/<?php echo $product->proCategory; ?>/detail/<?php echo $product->proID; ?>/<?php echo url($product->proName); ?>" title="<?php echo lang('VIEW'); ?>" target="_blank">
                                    <?php echo sub($product->proName, 50); ?>
                                </a>
                                <span style="font-weight:normal;"><i>(<?php echo date_convert($product->proPostDate); ?>)</i></span>
                            </p>
                            <?php } ?>
                        </fieldset>
                    </td>
                    <td width="50%">
                        <fieldset class="fieldsetBR">
                            <legend><?php echo lang('LASTEST_ADS'); ?></legend>
                            <?php foreach($lastestAds as $ads){ ?>
                            <p>
                                <a href="<?php echo base_url(); ?>ads/section/<?php echo $ads->adsSection; ?>/category/<?php echo $ads->adsCategory; ?>/detail/<?php echo $ads->adsID; ?>/<?php echo url($ads->adsTitle); ?>" title="<?php echo lang('VIEW'); ?>" target="_blank">
                                    <?php echo sub($ads->adsTitle, 50); ?>
                                </a>
                                <span style="font-weight:normal;"><i>(<?php echo date_convert($ads->adsPostDate); ?>)</i></span>
                            </p>
                            <?php } ?>
                        </fieldset>
                    </td>
                </tr>
                <tr>
                    <td width="50%">
                        <fieldset class="fieldsetBL">
                            <legend><?php echo lang('LASTEST_JOB'); ?></legend>
                            <?php foreach($lastestJobs as $job){ ?>
                            <p>
                                <a href="<?php echo base_url(); ?>job/section/<?php echo $job->jobSection; ?>/category/<?php echo $job->jobCategory; ?>/detail/<?php echo $job->jobID; ?>/<?php echo url($job->jobTitle); ?>" title="<?php echo lang('VIEW'); ?>" target="_blank">
                                    <?php echo sub($job->jobTitle, 50); ?>
                                </a>
                                <span style="font-weight:normal;"><i>(<?php echo date_convert($job->jobPostDate); ?>)</i></span>
                            </p>
                            <?php } ?>
                        </fieldset>
                    </td>
                    <td width="50%">
                        <fieldset class="fieldsetBR">
                            <legend><?php echo lang('LASTEST_EMPLOY'); ?></legend>
                            <?php foreach($lastestEmploys as $employ){ ?>
                            <p>
                                <a href="<?php echo base_url(); ?>employ/section/<?php echo $employ->empSection; ?>/category/<?php echo $employ->empCategory; ?>/detail/<?php echo $employ->empID; ?>/<?php echo url($employ->empTitle); ?>" title="<?php echo lang('VIEW'); ?>" target="_blank">
                                    <?php echo sub($employ->empTitle, 50); ?>
                                </a>
                                <span style="font-weight:normal;"><i>(<?php echo date_convert($employ->empPostDate); ?>)</i></span>
                            </p>
                            <?php } ?>
                        </fieldset>
                    </td>
                </tr>
                <tr>
                    <td width="50%">
                        <fieldset class="fieldsetBL">
                            <legend><?php echo lang('LASTEST_NEWS'); ?></legend>
                            <?php foreach($lastestNews as $news){ ?>
                            <p>
                                <a href="<?php echo base_url(); ?>news/section/<?php echo $news->newSection; ?>/category/<?php echo $news->newCategory; ?>/detail/<?php echo $news->newID; ?>/<?php echo url($news->newTitle); ?>" title="<?php echo lang('VIEW'); ?>" target="_blank">
                                    <?php echo sub($news->newTitle, 50); ?>
                                </a>
                                <span style="font-weight:normal;"><i>(<?php echo date_convert($news->newPostDate); ?>)</i></span>
                            </p>
                            <?php } ?>
                        </fieldset>
                    </td>
                    <td width="50%">
                        <fieldset class="fieldsetBR">
                            <legend><?php echo lang('LASTEST_NOTICE'); ?></legend>
                            <?php foreach($lastestNotices as $notice){ ?>
                            <p>
                                <a href="<?php echo base_url(); ?>notice/detail/<?php echo $notice->notID; ?>/<?php echo url($notice->notTitle); ?>" title="<?php echo lang('VIEW'); ?>" target="_blank">
                                    <?php echo sub($notice->notTitle, 50); ?>
                                </a>
                                <span style="font-weight:normal;"><i>(<?php echo date_convert($notice->notPostDate); ?>)</i></span>
                            </p>
                            <?php } ?>
                        </fieldset>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<?php $this->load->view('admin/global/right'); ?>
<?php $this->load->view('admin/global/footer'); ?>